package com.dongdongshop.service;

import com.dongdongshop.pojo.order.TbOrder;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Map<String,String> addOrder(TbOrder order);


    void updateAlipayOrderByPayOrder(String out_trade_no, String trade_no);

    List<TbOrder> selectOrderByUserId(String username);

    TbOrder selectById(Long orderId);

    void updateStatusById(long parseLong);

    List<TbOrder> selectComment(String username);
}
